load "Math";

type float = real and count = int and average = real;

val pi : real = 3.14 and e : real = 2.71;
val x : float = Math.sin pi;
val x : float = Math.sin (pi + 0.00159);

val m : int = 2;
val r : int =
  let
    val m : int = 3;
    val n : int = m * m;
  in
    m * n
  end * m;

fun fourthroot (x:real):real = Math.sqrt (Math.sqrt x);

val frthrt : real = fourthroot 256.0;
